#obj = {'a': 1, 'b': 2}

class Foo:
    def __init__(self):
        self.a = 1
        self.b = 2
        #self.__a = 1
        #self.__b = 2

    #def a(self):
    #    return self.__a

obj = Foo()

num = 0
for i in range(0, 1000001):
    #num += obj['a'] + obj['b']
    num += obj.a + obj.b
    #num += obj.a()

print num
